package org.com.lcuiot.database.entity;

import io.mybatis.provider.Entity;


/**
 * 设备数据点(设备上传的数据)
 *
 * @author gaoge
 * @since 2022-10-31 10:23:11
 */

@Entity.Table("device_data")
public class DeviceData {


    /**
     * id
     */
    @Entity.Column(id = true)
    private Long id;

    /**
     * 设备id
     */
    private String devId;

    /**
     * 数据流名称
     */
    private String dsId;

    /**
     * 平台时间戳,单位ms
     */
    private Long dataAt;

    /**
     * 具体数据部分，为设备上传至平台或触发的相关数据
     */
    private String dataValue;

    /**
     * 创建时间
     */
    private Long createAt;

    /**
     * 修改时间
     */
    private Long updateAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDevId() {
        return devId;
    }

    public void setDevId(String devId) {
        this.devId = devId;
    }

    public String getDsId() {
        return dsId;
    }

    public void setDsId(String dsId) {
        this.dsId = dsId;
    }

    public Long getDataAt() {
        return dataAt;
    }

    public void setDataAt(Long dataAt) {
        this.dataAt = dataAt;
    }

    public String getDataValue() {
        return dataValue;
    }

    public void setDataValue(String dataValue) {
        this.dataValue = dataValue;
    }

    public Long getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Long createAt) {
        this.createAt = createAt;
    }

    public Long getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Long updateAt) {
        this.updateAt = updateAt;
    }
}
